﻿namespace Blaze.Framework.Utilities
{
    using UnityEngine;

    /// <summary>
    /// 标记物体为切换场景不销毁。
    /// </summary>
    public class DontDestroyOnLoad : MonoBehaviour
    {
        private void Awake()
        {
            DontDestroyOnLoad(gameObject);
        }
    }
}